package HomeWorkDay03;

public class 运算符条件和三目 {
    public static void main(String[] args) {
        int num = 0;
        int flag = num>0?1:0;
        System.out.println(flag);

        int a = 5,b=10;
        int max =a>b?a:b;
        System.out.println("最大值为:"+max);

    }
}
